-- GENERATED SPELL FOR [Vejrek] --


function spell0_6113(pUnit, Event) --@Defensive Stance,Self--
pUnit:FullCastSpellOnTarget(7164,pUnit)
pUnit:RegisterEvent('Sorts_6113', 566, 1)
end

function Sorts_6113(pUnit, Event)
local choix_sorts_6113 = math.random(0, 0)
if choix_sorts_6113 == 0 then
pUnit:RegisterEvent('spell0_6113', 1, 1)
end
end

function mob6113_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6113', math.random(1500, 3000), 1)
end

function mob6113_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6113_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6113_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6113, 1, 'mob6113_Action')
RegisterUnitEvent(6113, 2, 'mob6113_Leave')
RegisterUnitEvent(6113, 3, 'mob6113_Kill')
RegisterUnitEvent(6113, 4, 'mob6113_Die')
